package Demo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86136
 * Date: 2024-05-26
 * Time: 16:57
 */
public interface IA {
    void test1();
}
abstract interface IB{
    void test2();
}

//接口与接口之间的关系-->extends(扩展)
interface IC extends IA,IB{
    void test3();
}

//类和接口之间的关系-->implements(实现)
class ic implements IC{

    @Override
    public void test1() {

    }

    @Override
    public void test2() {

    }

    @Override
    public void test3() {

    }
}
